﻿using LunchList.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using LunchListCore.Interfaces.Agents;
using Microsoft.Practices.Unity;

namespace LunchList.Infrastructure
{
    public class LunchListControlerBase : Controller
    {
		[Dependency]
        public IGuestContext GuestContext { get; set; }

        public ActionResult LunchListView(PageViewModelBase vm)
		{
			vm.UserFullName = GuestContext.User.Name;
            return View(vm);
        }
    }

} 